<?php

include_once('variables.php');

define ('CURRENT_BASE_URL', $baseURL);

include_once(NEW_RESELLERSPANEL_ROOT_DIR.'variables.php');

?>
<html>
<head>
<title>Web hosting, reseller hosting and an affiliate program</title>
<meta http-equiv="Content-Type" content="text/html;">

<? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_header.php'); ?>

</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="760" height="100%" align="center" style="background: #FFFFFF; border-left: 4px solid #FFFFFF; border-right: 4px solid #FFFFFF;">
  <tr>
   <td height="10"></td>
  </tr>
  <tr>
    <td height="69"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_top.php'); ?></td>
  </tr>
  <tr>
   <td height="10"></td>
  </tr>
  <tr>
    <!-- Navigation -->
    <td height="24"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_menu.php'); ?></td>
  </tr>
  <tr>
  <!-- Content -->
    <td style="padding-top: 4px;" valign="top">
			<table width="760" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td width="185" valign="top"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/news.html'); ?></td>
			    <td valign="top" style="padding: 15px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			      <tr>
			        <td><img src="/reseller_hosting_files/page_headers/h_reseller_control_panel.gif" alt="Login To Your Reseller's Account"></td>
			      </tr>
			      <tr>
			        <td height="6" background="/reseller_hosting_files/h_line.jpg"></td>
			      </tr>
			    </table>
		    
			    <div style="margin-left: 18px; width: 400px;">
			    <table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="20" colspan="2">&nbsp;</td>
            </tr>
						<tr>
							<td height="40"><table border="0" cellspacing="0" cellpadding="0">
							  <tr>
								<td><img src="/reseller_hosting_files/secure_socet_layer_image.gif" width="9" height="11" alt="Secure Socet Layer Image"></td>
								<td class="news_text"><strong>&nbsp;&nbsp;Resellers Panel secure login form</strong></td>
							  </tr>
							</table></td>
						</tr>
            <tr>
              <td colspan="2" class="text"><b>Please enter your user name and password</b></td>
            </tr>
            <tr>
              <td colspan="2" class="text">&nbsp;</td>
            </tr>
            <?php
              if(!empty($errorMsg)) {
            ?>
            <tr>
              <td colspan="2" class="text" align=center><?php	echo '<span style="color:red; font-weight: bold;">'.ucwords($errorMsg).'</span><br>'; ?></td>
            </tr>
            <?php
            	}
            ?>
            <tr>
              <td class="text"><table width="210" border="0" cellspacing="0" cellpadding="0">
								<form action='<?php echo CURRENT_BASE_URL;?>/login.php' method='POST'>
                <tr align="left" valign="middle">
                  <td height="20" width="100" align="right" class="text">Username:&nbsp;&nbsp;</td>
                  <td height="20" class="text" align="right"><input style="width: 140px; height: 19px; border: 1px solid #FC5900; background: url(/reseller_hosting_files/bg_input.jpg);" tabindex="1" name="username" class="input"></td>
                </tr>
                </tr>
                <tr align="left" valign="middle">
                  <td height="20" width="100" align="right" class="text">Password:&nbsp;&nbsp;</td>
                  <td height="20" class="text" align="right"><input  style="width: 140px; height: 19px; border: 1px solid #FC5900; background: url(/reseller_hosting_files/bg_input.jpg);" tabindex="2" type="password" name="password" class="input"></td>
                </tr>
                <tr align="left" valign="middle">
                  <td height="30" width="100" align="right">&nbsp;</td>
                  <td height="30" align="right"><input type="submit" value=" " name="submit" id="login">
                  </td>
                </tr>
		</form>
              </table></td>
              <td class="text"><img src="/reseller_hosting_files/locker.jpg" width="105" height="65" alt="Secure Form"></td>
            </tr>
            <tr>
              <td colspan="2" class="text">&nbsp;</td>
            </tr>
            <tr>
              <td colspan="2" align="right" class="text"><table border="0" cellspacing="0" cellpadding="0" height="36">
                <tr>
                  <td width="310" align="right" valign="top" class="text">Forgot your password?&nbsp;&nbsp;</td>
                  <td align="left" valign="top" class="text"><a href="<?php echo CURRENT_BASE_URL;?>/lostpassword.html" class="news_text">Click Here</a></td>
                </tr>
                <tr>
                  <td width="310" align="right" valign="top" class="text">To open your free reseller hosting account with us&nbsp;&nbsp;</td>
                  <td align="left" valign="top" class="text"><a href="<?php echo $baseURL; ?>/signup/" class="news_text">Click here</a></td>
                </tr>
              </table></td>
            </tr>
          </table>
			    
			    
			    
			    
			    
			    
			    
			    <!--
			    
			    
			    	<br>
					  <table width="100%" border="0" cellspacing="1" cellpadding="0" style="border: 1px solid #D6D6D6;">
		          <tr>
		            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
		                <tr>
		                  <td height="20" background="/reseller_hosting_files/bg_api.jpg" style="padding-left: 8px;">
		                  	<p><strong>
			                  	<table border="0" cellspacing="0" cellpadding="0">
													  <tr>
															<td><img src="/reseller_hosting_files/secure_socet_layer_image_login.gif" width="9" height="11" alt="Secure Socet Layer Image"></td>
															<td><strong>&nbsp;&nbsp;RESELLERS PANEL SECURE LOGIN FORM</strong></td>
													  </tr>
													</table>
		                  	</strong></p>
		                  </td>
		                </tr>
		                <tr>
		                  <td background="/reseller_hosting_files/bg_big_plan.gif" style="padding: 7px;"><table width="100%" border="0" cellspacing="0" cellpadding="0">
		                      <tr>
							              <td colspan="2" class="text"><b>Please enter your user name and password</b></td>
							            </tr>
							            <tr>
							              <td colspan="2" class="text">&nbsp;</td>
							            </tr>
					              	<?php
														if($errorMsg) {
													?>
							            <tr>
							              <td colspan="2" class="text">
															<?php echo '<span style="color:red; font-weight: bold;">'.ucwords($errorMsg).'</span><br>'; ?>
							              </td>
							            </tr>
							            <tr>
							              <td colspan="2" class="text">&nbsp;</td>
							            </tr>
							            <?php } ?>
		                  		<tr>
		                        <td width="50%">
		                        	<table border="0" cellspacing="5" cellpadding="0">
		                        		<form action='<?php echo CURRENT_BASE_URL;?>/login.php' method='POST'>
		                            <tr align="left">
		                              <td height="20" width="50" align="right">Username:&nbsp;&nbsp;</td>
		                              <td height="20" align="left"><input style="width: 140px; height: 19px; border: 1px solid #FC5900; background: url(/reseller_hosting_files/bg_input.jpg);" tabindex="1" name="username" class="input"></td>
		
		                            </tr>
		                            <tr align="left" valign="middle">
		                              <td height="20" width="50" align="right">Password:&nbsp;&nbsp;</td>
		                              <td height="20" align="left"><input  style="width: 140px; height: 19px; border: 1px solid #FC5900; background: url(/reseller_hosting_files/bg_input.jpg);" tabindex="2" type="password" name="password" class="input"></td>
		                            </tr>
		                            <tr align="left" valign="middle">
		                              <td height="30" width="50" align="right">&nbsp;</td>
		                              <td height="30" align="right"><input type="submit" value=" " name="submit" id="login"></td>
		                            </tr>
		                            </form>
		                          </table>
		                        </td>
		                        <td width="50%"><strong>If you do not have an account with us<br> <a href="<?php echo $baseURL; ?>/signup/">SIGN UP NOW</a> to continue with the order.</strong>
		                          <p><a href="<?php echo CURRENT_BASE_URL;?>/lostpassword.html">Forgot your password?</a></p></td>
		                      </tr>
		                    </table></td>
		
		                </tr>
		                <tr>
		                  <td height="2" background="/reseller_hosting_files/bottom_border.gif"></td>
		                </tr>
		              </table></td>
		          </tr>
		        </table>
		        -->
					</div>
				</td>
			  </tr>
			</table>
		</td>
  </tr>
  <tr>
    <td><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/menu_footer.php'); ?></td>
  </tr>
  <tr><!-- Footer -->
   <td height="25"><? include(NEW_RESELLERSPANEL_ROOT_DIR.'/includes/secure_footer.php'); ?></td>
  </tr>
</table>
</body>
</html>